<?php
/*******************************************************************************
 * $Date:: Jan 10, 2011 10:54:34 PM                                              $
 * $Revision:                                                                  $
 * $Author:: Tuan Duong                                                        $
 * $Comment::                                                                  $
 ******************************************************************************/ 
/**
 * Description here...
 * 
 * @package Lua
 * @subpackage Bean
 * @author Tuan Duong <bacduong[at]gmail[dot]com>
 * @version 
 * @property int id 
 * @property string username 
 * @property string password 
 * @property string full_name 
 * @property string email 
 * @property string birthday 
 * @property int gender
 * @property string address
 * @property int city
 * @property int education 
 * @property string phone
 * @property string cell_phone 
 * @property string created_time 
 * @property string modified_time
 * @property int created_user_id 
 */

class Lua_Bean_IpooUser extends Lua_Bean_Abstract
{
    protected $fields = array('id', 'username', 'password', 'full_name', 'email', 'birthday', 'gender', 
    	'address', 'city', 'self_introduce', 'econtact', 'status', 'created_time', 'modified_time', 'created_user_id');
    
    public function isAdmin()
    {
        // @TODO: Should be change the condition to figure out admin user
        return true;
    }    
}